package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
* <p>
* 退单表
* </p>
*
* @author huangrensen
* @since 2024-08-02
*/
@Schema
@Data
public class OdsOmsRetailReturnOrderMainForm {
    @Schema(description="退单编号")
    private String returnOrderSn;

    @Schema(description="退单状态(0 未确认,1 已确认,3 作废,10 完成)")
    private Integer returnOrderStatus;

    @Schema(description="退单物流状态：0未收货、1已收货,未入库、2已入库、3可入库、4已退回给客户")
    private Integer returnShippingStatus;

    @Schema(description="财务状态：0未结算、1已结算、2待结算")
    private Integer returnPayStatus;

    @Schema(description="0无（旧系统虚拟退货），1退货，2换货，3拒收，4拒收(原路退回)，5仅退款，6拦截入库")
    private Integer returnOrderType;

    @Schema(description="退单交易号")
    private String refundDealCode;

    @Schema(description="店铺来源类型")
    private Integer lylx;

    @Schema(description="收货人")
    private String receiverName;

    @Schema(description="收货地址")
    private String receiverAddr;

    @Schema(description="退货人手机号")
    private String receiverMobile;

    @Schema(description="订单总金额[商品总金额goods_amount+运费shipping_fee+手续费cod_fee]")
    private Long returnTotalAmount;

    @Schema(description="买家应付金额")
    private Long returnOrderAmount;

    @Schema(description="已付金额")
    private Long returnPayment;

    @Schema(description="订单其他折让(整单折让)")
    private Long returnOtherDiscountFee;

    @Schema(description="ipos终端代码")
    private String posCode;

    @Schema(description="退货快递公司代码")
    private String returnShippingCode;

    @Schema(description="退货快递物流单号")
    private String returnShippingName;

    @Schema(description="退货快递物流单号")
    private String returnShippingSn;

    @Schema(description="退单关联订单号")
    private String relatingOrderSn;

    @Schema(description="o2o退单")
    private String isO2o;

    @Schema(description="O2O交易来源")
    private String o2o;

    @Schema(description="0-未同步 1-已同步 2-处理中 10-已同步到erp")
    private Integer syncStatus;

    @Schema(description="退单入库时间")
    private LocalDateTime returnShippingTimeRk;

    @Schema(description="")
    private String returnOrderMsg;

    @Schema(description="平台退单编号")
    private String refundCode;

    @Schema(description="")
    private Long relatingOrderId;

    @Schema(description="")
    private Long isManualReturn;

    @Schema(description="订单导购员ID")
    private String o2oGuideId;

    @Schema(description="订单导购门店ID")
    private String o2oShopId;

    @Schema(description="收货人省份")
    private String receiverProvinceName;

    @Schema(description="收货人城市")
    private String receiverCityName;

    @Schema(description="收货人区")
    private String receiverDistrictName;

    @Schema(description="商店代码")
    private String sdCode;

    @Schema(description="")
    private String sdName;

    @Schema(description="发货仓库")
    private String fhck;

    @Schema(description="渠道代码")
    private String qdCode;

    @Schema(description="渠道名称")
    private String qdName;

    @Schema(description="退单创建时间")
    private LocalDateTime addTime;

    @Schema(description="最后更新")
    private LocalDateTime lastUpdate;

}
